#include "KeyboardDispatch.h"

KeyboardDispatch::KeyboardDispatch(Dispatch* dispatcher)
{
	dispatch = dispatcher;
}

KeyboardDispatch::~KeyboardDispatch(void)
{
}

void KeyboardDispatch::keyboard(unsigned char key, int x, int y)
{
	//
	//Sends the event to dispatch
	//
	dispatch->dispatchKeyboardEvent(key);

}

void KeyboardDispatch::keyboardSpecial(int key, int x, int y){

	//
	//Sends the event to dispatch
	//
	dispatch->dispatchSpecialKeyboardEvent(key);
}